// 1.0 导入express包
const express = require('express');

// 2.0 定义路由中间件对象
let Router = express.Router();

// 文档分类相关的接口
Router.get('/list', (req, res) => {
    res.send('/admin/category/list');
});

Router.post('/add', (req, res) => {
    res.send('/admin/category/add');
});

module.exports = Router;